﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace csvviewer.app
{
    public class Run
    {
        private readonly string[] _args;
		
		public Run() {}
        public Run(string[] args)
        {
            _args = args;
        }

        public void Process()
        {
			if (_args != null)
				this.WithArgs(_args);
			else
				this.WithoutArgs();
        }

        public event Action<string[]> WithArgs;
		public event Action WithoutArgs;
    }
}
